import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
	state: {
		routeractive: "/odometer",
		userinfo: {}
	},
	getters: {},
	mutations: {
		changerouteractive(state, data) {
			state.routeractive = data;
		},
		changeuserinfo(state, data) {
			state.userinfo = data;
		}
	},
	actions: {},
	modules: {},
});
